class CreatePublication < ActiveRecord::Migration
  def self.up
    drop_table :publications
    create_table :publications do |t|
      t.string   "name"
      t.string   "editor"
      t.string   "email"
      t.text     "description"
      t.string   "url"
      t.string   "status"
      t.integer  "publisher_id"
      t.integer  "vertical_id"
      t.datetime "created_at"
      t.datetime "updated_at"
      t.string   "headshot_file_name"
      t.string   "headshot_content_type"
      t.integer  "headshot_file_size"
      t.string   "logo_file_name"
      t.string   "logo_content_type"
      t.integer  "logo_file_size"
      t.string   "screenshot_file_name"
      t.string   "screenshot_content_type"
      t.integer  "screenshot_file_size"

      t.timestamps
    end
  end

  def self.down
    drop_table :publications
  end
end
